package com.bbs.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
@Controller
@Scope("prototype")
public class ExitUserAction extends ActionSupport{
	public String execute(){
		ActionContext.getContext().getSession().remove("user");
		return SUCCESS;
	}
}
